package com.xyz.config;

import com.xyz.entity.pojo.SystemEmployee;

import java.util.HashMap;
import java.util.Map;

public class SystemData {

    //kye:员工ID;value:员工实体类
    public static Map<Long, SystemEmployee> employeeMap = new HashMap<>();

    //新增维修同步锁
    public static final Object repairLock = new Object();

    public static final Object upkeepLock = new Object();


    public static final String REPAIR_WORK_NUMBER = "REPAIR_WORK_NUMBER";

    public static final String UPKEEP_WORK_NUMBER = "UPKEEP_WORK_NUMBER";

    public static final String PATROL_WORK_NUMBER = "PATROL_WORK_NUMBER";

    //计划自动生成工单(天)
    public static final int planDay = 3;

    /*
     * PC权限编码
     * */

    /*
     * APP权限编码
     * */

    //APP页面待审核
    public static final String PAGE_REP_PENDING_ANNOUNCE = "PAGE_REP_PENDING_ANNOUNCE";

    //APP页面待抢单
    public static final String PAGE_REP_ORDER_GRABBING = "PAGE_REP_ORDER_GRABBING";

    //APP页面待派单
    public static final String PAGE_REP_DISPATCH = "PAGE_REP_DISPATCH";

    //APP页面验收指派
    public static final String PAGE_REP_ACCEPT_ASSIG = "PAGE_REP_ACCEPT_ASSIG";

    //APP页面待验收
    public static final String PAGE_REP_ACCEPT = "PAGE_REP_ACCEPT";

    //APP页面我处理的
    public static final String PAGE_REP_I_HANDLE = "PAGE_REP_I_HANDLE";

    //APP页面历史记录
    public static final String PAGE_REP_HISTORY = "PAGE_REP_HISTORY";


}
